<html xmlns="http://www.w3.org/1999/xhtml" 
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
      
      <f:view contentType="text/html"/>
     <body>
      <center>
      <h1>Java Learning Center</h1>
<h3>Managed Bean Demo</h3>
<h:form>
<h:panelGrid  id="helloPanel" columns="2" border="1">
<h:outputText value="Name"/>
<h:inputText id="name" value="#{hello.name}" required="true"/>

<h:outputText value="Email"/>
<h:inputSecret id="email" value="#{hello.email}" required="true"/>



<h:commandButton value="Show" action="#{hello.show}"/>

</h:panelGrid>
</h:form>
</center>
</body>
</html>